package com.xy.dao;

import java.util.List;

import com.xy.model.Admin;

public interface AdminDao{

	Admin adminLogin(String account, String pwd);

	List<Admin> listByPage(int page);
	
	boolean update(Admin admin);
	
	boolean delete(Admin admin);
	
	public List<Admin> list(String name);
}
